home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Dpathconf(2) Oct. 1, 1991 Dpathconf(2)
-
-
- N✓NA✓AM✓ME✓E
- Dpathconf - get information about file system configura-
- tion
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- LONG Dpathconf( char *name, WORD mode );
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓D_✓p_✓a_✓t_✓h_✓c_✓o_✓n_✓f returns information about various limits or
- capabilities of the file system containing the file named
- _✓n_✓a_✓m_✓e. The variable _✓m_✓o_✓d_✓e controls which limit or capabil-
- ity is being queried, as follows:
- mode Value Returned
-
- -1 return max. legal value for n in Dpathconf(n)
- 0 return internal limit on the number of open files
- 1 return max. number of links to a file
- 2 return max. length of a full path name
- 3 return max. length of an individual file name
- 4 return number of bytes that can be written atomically
- 5 return information about file name truncation
- If any of these items are unlimited, then 0x7fffffffL is
- returned.
-
- For mode 5, return information about file name truncation,
- the returned value has the following meaning:
-
- 0 File names are never truncated; if the file name in
- any system call affecting this directory exceeds
- the maximum length (returned by mode 3), then the
- error value ERANGE is returned from that system
- call.
-
- 1 File names are automatically truncated to the maxi-
- mum length.
-
- 2 File names are truncated according to DOS rules,
- i.e. to a maximum 8 character base name and a maxi-
- mum 3 character extension.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓S_✓y_✓s_✓c_✓o_✓n_✓f(2)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-